namespace Cos.Core.NHibernate.Mapping
{
    using FluentNHibernate.Mapping;
  

    public class ContentLogMap : ClassMap<ContentLogDataModel>
    {
        #region Constructors and Destructors

        public ContentLogMap()
        {
            this.Table("ContentLog");
            this.LazyLoad();
            this.Id(x => x.Id).GeneratedBy.Native().Column("LogID");
            this.Map(x => x.LogTime).Not.Nullable().Column("LogTime");
            this.Map(x => x.UserID).Column("UserID");
            this.Map(x => x.UserName).Column("UserName");
            this.Map(x => x.NavID).Column("NavID");
            this.Map(x => x.CultureCode).Column("CultureCode");
            this.Map(x => x.ContentLogType).Column("Type");
        }

        #endregion
    }
}